package cn.knightzz.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 考核表, 主要记录党员做的好人好事
 * </p>
 *
 * @author knightzz
 * @since 2021-05-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="SysExamine对象", description="考核表, 主要记录党员做的好人好事")
public class SysExamine implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "事件日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone="GMT+8")
    private Date date;

    @ApiModelProperty(value = "党员姓名")
    private String memberName;

    @ApiModelProperty(value = "党员id")
    private Long memberId;

    @ApiModelProperty(value = "评分, 用于考核")
    private Integer score;

    @ApiModelProperty(value = "信息上传人")
    private String authorName;

    @ApiModelProperty(value = "信息上传者id")
    private Long authorId;

    @ApiModelProperty(value = "所在辖区")
    private String area;

}
